/*
 * @Author: 陈明烽
 * @FilePath: \evdata\src\PageViewPro\index.tsx
 * @Description: 描述
 */
import InternalPageViewPro, { PageViewProps } from './PageViewPro';
import {
  CPageView,
  CPageViewCrumb,
  CPageViewContent,
  CPageViewFooter,
  CPageViewTop,
  CPageViewSpin,
} from './indexStyle';

interface PageViewProType extends React.FC<PageViewProps> {
  CPageViewCrumb: typeof CPageViewCrumb;
  CPageViewContent: typeof CPageViewContent;
  CPageViewFooter: typeof CPageViewFooter;
  CPageViewSpin: typeof CPageViewSpin;
  CPageViewTop: typeof CPageViewTop;
}

const PageViewPro = InternalPageViewPro as PageViewProType;
/**上面的 面包屑 */
PageViewPro.CPageViewCrumb = CPageViewCrumb;
/**内容区域 */
PageViewPro.CPageViewContent = CPageViewContent;
/**页脚 */
PageViewPro.CPageViewFooter = CPageViewFooter;
/**页面loading */
PageViewPro.CPageViewSpin = CPageViewSpin;
/**页面头部 */
PageViewPro.CPageViewTop = CPageViewTop;

export default PageViewPro;
